速報APP / 工具 / Switch ESP8266

Switch ESP8266

價格:免費

更新日期:2015-09-09

檔案大小:1.5M

目前版本:1.2.3

版本需求:Android 4.0 以上版本

官方網站:mailto:jesusrodriguezrey@gmail.com

Switch ESP8266(圖1)-速報App

Application to operate the ESP8266's website with NodeMcu firmware and configured web server.

You only need to load the firmware NodeMcu in your ESP8266 and then with Lua programming language start a web server with which to manage GPIO outputs or what you have programmed.

The program is very simple, you only have the option to configure the IP address of ESP8266 or set AutoScan option to let the app find it, it shows you both your ip such as the ESP8266 with alert in the event that the two IPs are not on the same LAN, you can add as many buttons (commands) as you wish.

Switch ESP8266(圖2)-速報App

You can use 1 button and 2 buttons commands, 1 button for pushbuttons, there are people who only need a command and the ESP software does several things (?GPIO = 1). The two-button commands are when you have a relay and you want to control when turn it on and when off, the variable to configure would be ON,OFF (two words separated by a comma) creating two buttons one with the ON word and another with the OFF word, so you call the web server running at the ESP with an URL ended by ?ON=1 and OFF=1 respectively, being 1 the value configured (usually the GPIO to actuate).

The value normally is the GPIO, but can be any character you can handle appropriately in web code.

Sample code to program into ESP8266:

Switch ESP8266(圖3)-速報App

http://37.187.4.185/server.lua

http://37.187.4.185/server.ino

Switch ESP8266(圖4)-速報App